{extend name="admin@public/base" /}
{block name="main-content"}
<div class="page-content">
    <div class="row maintop">
        <div class="col-xs-12">
            <a href="{:url('admin/organize/deptAdd',array('org_id'=>$org_id))}">
                <button class="btn btn-sm btn-danger">
                    <i class="ace-icon fa fa-bolt bigger-110"></i>
                    添加部门
                </button>
            </a>

        </div>
    </div>
    <div class="row">
        <div class="col-xs-12">
            <div>

                <table id="dynamic-table" class="table table-striped table-bordered table-hover">
                    <thead>
                        <tr>
                            <th width="8%">编号</th>
                            <th>部门名称</th>
                            <th class="center" width="8%">状态</th>
                            <th class="center" width="8%" style="border-right:#CCC solid 1px;">操作</th>
                        </tr>
                    </thead>
                    <tbody id="ajax-data">
                        {include file="organize/ajax_dept"/}
                    </tbody>
                </table>

            </div>
        </div>
    </div>
</div>
{/block}
